package com.clayecloud.common.client.services.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.clayecloud.common.mappers.UserRoleMapper;
import com.clayecloud.common.entity.UserRole;
import com.clayecloud.common.client.services.UserRoleService;
/**
 * @author  ClayeLink
 * @date  2021/12/31 14:51
 */
@Service
public class UserRoleServiceImpl implements UserRoleService{

    @Resource
    private UserRoleMapper userRoleMapper;

    @Override
    public int insert(UserRole record) {
        return userRoleMapper.insert(record);
    }

    @Override
    public int insertSelective(UserRole record) {
        return userRoleMapper.insertSelective(record);
    }

}
